package com.entity;


import java.io.Serializable;

/**
 * ${comments}
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-12-05 14:43:15
 */

public class Channel implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */

	private int chanID;
	/**
	 * 频道名称
	 */
	private String name;
	/**
	 * 图标
	 */
	private String ico;
	/**
	 * 创建时间
	 */
	private String createdate;
	/**
	 * 拥有者Id
	 */
	private Integer ownID;
	/**
	 * 拥有者姓名
	 */
	private String ownName;
	/**
	 * 修改时间 
	 */
	private String moDate;
	/**
	 * 状态：1：开放;2:关闭;3:封停
	 */
	private String state;

	@Override
	public String toString() {
		return "Channel{" +
				"chanID=" + chanID +
				", name='" + name + '\'' +
				", ico='" + ico + '\'' +
				", createdate='" + createdate + '\'' +
				", ownID=" + ownID +
				", ownName='" + ownName + '\'' +
				", moDate='" + moDate + '\'' +
				", state='" + state + '\'' +
				'}';
	}

	public int getChanID() {
		return chanID;
	}

	public void setChanID(int chanID) {
		this.chanID = chanID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIco() {
		return ico;
	}

	public void setIco(String ico) {
		this.ico = ico;
	}

	public String getCreatedate() {
		return createdate;
	}

	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}

	public Integer getOwnID() {
		return ownID;
	}

	public void setOwnID(Integer ownID) {
		this.ownID = ownID;
	}

	public String getOwnName() {
		return ownName;
	}

	public void setOwnName(String ownName) {
		this.ownName = ownName;
	}

	public String getMoDate() {
		return moDate;
	}

	public void setMoDate(String moDate) {
		this.moDate = moDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}
